package com.initialize.core.security.entity;

import com.initialize.common.mybatis.plus.entity.Role;
import org.springframework.security.core.GrantedAuthority;

/**
 * Created with IntelliJ IDEA.
 * User: jane
 * Date: 2020/1/2
 * Time: 8:18 下午
 * Description: 权限实体
 */
public class RoleI extends Role implements GrantedAuthority {


    @Override
    public String getAuthority() {
        return super.getRole();
    }

}